package com.odata.springboot.starter.odata.odata.sql.process;

import com.odata.springboot.starter.odata.odata.sql.sqlBuild.OdataSqlInformation;
import org.apache.olingo.server.api.OData;
import org.apache.olingo.server.api.uri.UriInfo;
import org.springframework.beans.factory.InitializingBean;

/**
 * sql orderby filter limit等处理的接口
 * @author chenYX
 * select -> filter -> limit -> orderby
 * @date 2021/6/28 11:07
 * @description
 */
public abstract class SqlProcess implements InitializingBean {

    /**
     *
     * @author : yongxiang
     * @description : chualisql
     * @param sqlBuild
     * @param aClass
     * @param oData
     * @date : 11:12 2021/6/28
    */
    public abstract void process(OdataSqlInformation.SqlInformationBuild sqlBuild, UriInfo uriInfo, Class<?> aClass, OData oData);

    @Override
    public void afterPropertiesSet() throws Exception {

    }
}
